Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch URL for prog info scraping to use the OPO site #1662

Merged

Conversation

bhilbert4
Copy link
Collaborator

The site that JWQL had been using to scrape for proposal information went down last week, and is not yet back up. JWQL did not check for the internal server error returned for those pages, which was causing JWQL to crash when trying to load any observation-level page.

This PR switches over to use the OPO version of the proposal information pages. It also adds a check for an internal server error when scraping the page.

Resolves #1660

@bhilbert4
Copy link
Collaborator Author

@mfixstsci, local testing shows that this is working well, so I think it's ready for review.

@mfixstsci
Copy link
Collaborator

@bhilbert4 this is a good fix, thank you for submitting. I wonder if there is a more reliable API to use to obtain this same information instead of scraping websites 🤔

@bhilbert4
Copy link
Collaborator Author

I started looking into getting the info from pyvo or mast, but there wasn't anything obvious in my quick check, so I moved on. I agree that if we can get the info that way, it would be better. I opened a JIRA ticket for that last night.

@bhilbert4 bhilbert4 merged commit 760dc40 into spacetelescope:develop Dec 18, 2024
11 checks passed
@bhilbert4 bhilbert4 deleted the fix-inst-prop-website-url-change branch December 18, 2024 18:43
@sosey
Copy link
Member

sosey commented Dec 18, 2024

add me to the ticket, I have a likely internal method, depends on what you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update proposal information page URL
3 participants